/*
 * BaseBaseEmDAO.java
 *
 * Created on November 7, 2007, 4:28 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.src.computec.radar.services.utilities.dao;

import com.src.computec.radar.base.dao.exception.DAOException;
import com.src.computec.radar.services.utilities.dto.ClienteDto;
import com.src.computec.radar.services.utilities.dto.NodoDto;
import com.src.computec.radar.services.utilities.dto.ProveedorDto;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 *
 * @author fsanchez
 */
public interface BaseBaseEmDAO {
    
     public List getListadoBases(ProveedorDto proDto,NodoDto nodoDto,ClienteDto cliDto,Date pFechaIni,Date pFechaFin,String pNumeroOrden) throws DAOException;
     public List getInfoDescargas(String pCodigoBase) throws DAOException;
     public List getNodosXNumOrden(String pNumOrden) throws DAOException;
     public int insertBaseEm(String pDesc,String path,String pNumOrden,String pCodigoNodo,String pCantReg,String pTipoBase) throws DAOException;
     public List getBase(String pNumOrden,String pCodigoNodo) throws DAOException;
     public String validarBaseCreadaXNumOrden(String pNumOrden,String pTipoBase) throws DAOException;
      public boolean existeNumOrden(String pNumOrden) throws DAOException;
    // public List getBaseReasignacion(String pCodReasigna,String pCodigoEvaluacion,String pReasignacionAplicada) throws DAOException;
    public List getBaseReasignacion(String pNumOrden,String pCodigoNodo,String pCodigoEvaluacion,String pReasignacionAplicada) throws DAOException;
    public List getListaXGenerarBase(String pCodigoEvaluacion,String pReasignacionAplicada) throws DAOException;
    
    public HashMap getBaseEmXCodBarras(String pListCodBarras,String pCodigoResponsable) throws DAOException;
    public void updateReasignacionesGeneradas(String pCodigoEvaluacion,String pReasignacionAplicada) throws DAOException;
     
    public void actualizaEstadoARetenidos(String pListCodBarras,String pCodigoResponsable) throws DAOException;
    
      public HashMap debeGenerarBaseEM(String pNumOrden) throws DAOException;
}
